 import java.util.Scanner;
 import java.text.DecimalFormat;

 public class PP36
 {
    public static void main(String[] args)
    {
       double radius, volume, surface_area;
       
       Scanner scan = new Scanner(System.in);

       System.out.print("Enter the radius: ");
       radius = scan.nextDouble();
  
       volume = (4/3)* Math.PI * Math.pow(radius, 3);
       surface_area = 4* Math.PI * Math.pow(radius, 2);

       DecimalFormat fmt = new DecimalFormat("0.####");

       System.out.println(" The volume of a sphere: " +fmt.format(volume));
       System.out.println(" The sphere surface area: " +fmt.format(surface_area));
    }
 }
       
